package com.recycle.controller;

import com.recycle.common.exceptions.GraceException;
import com.recycle.common.exceptions.MyCustomException;
import com.recycle.common.result.GraceJSONResult;
import com.recycle.common.result.ResponseStatusEnum;
import com.recycle.pojo.SysUser;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author 顾志杰
 * @Date 2025/8/13 16:23
 */
@RestController
public class HelloWord {

    @GetMapping("/hello")
    public GraceJSONResult helloWord(){
        throw new MyCustomException(ResponseStatusEnum.SYSTEM_RESPONSE_NO_INFO);
//        return GraceJSONResult.ok("hello");
    }
}
